package start.spring.basic.flowable.entity;


import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import start.spring.basic.ry.annotation.Excel;


/**
 * 表单配置对象 wf_form
 * 
 * @author xuyy
 * @date 2023-08-22
 */
@Data
@TableName("wf_form")
@ApiModel(value="wf_form表映射对象", description="")
public class WfForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表单主键")
    @TableId(value = "form_id", type = IdType.ASSIGN_ID)
    private Long formId;

    @ApiModelProperty(value = "表单名称")
    @TableField("form_name")
    @Excel(name = "表单名称")
    private String formName;

    @ApiModelProperty(value = "表单内容")
    @TableField("content")
    @Excel(name = "表单内容")
    private String content;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty(value = "删除标志")
    @TableField("del_flag")
    private String delFlag;

	
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("formId", getFormId())
            .append("formName", getFormName())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
